{% extends "base.html" %}

{% block content %}
{% if title %}
<h2>{{title}}</h2>
<form action="." method="post">
    <table>
        {{ form.as_table }}
        <tr>
            <td colspan=2><input id="submit" type="submit" value="wyślij" /></td>
        </tr>
    </table>
</form>
{% else %}
<h2>Dokumenty</h2>
<p><a href="/reports/contracts/">Umowy</a></p>
<p><a href="/reports/blankcontract/">Umowa in blanco</a></p>
<p><a href="/reports/hostels/">Zakwaterowania</a></p>
<p><a href="/reports/passed/">Praktyki zaliczone</a></p>
<p><a href="/reports/failed/">Praktyki niezaliczone</a></p>
<p><a href="/reports/refunds/">Lista do kwestury</a></p>
{% endif %}
{% endblock %}

